﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AdminLogin.aspx.cs" Inherits="Admin_AdminLogin" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title id="Title_CPLogin">DesignCMS@35后台管理系统登录</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta content="MSHTML 6.00.2900.3086" name="GENERATOR" />
    <link href="css/mainFrom.css" rel="stylesheet" type="text/css" />
    <link href="css/login.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="js/prototype.js"></script>
    <script type="text/javascript" src="js/Utils.js"></script>
    <script type="text/javascript" src="js/HintDialog.js"></script>

    <script type="text/JavaScript">
        window.onload = function()
        {
	        document.logonForm.txtUserName.focus();
        }
         //验证信息
        function validateFrm()
        {
            $("UpdateProgress1").style.display = "";
            document.getElementById("labMessage").innerHTML = "操作正在进行中，请等待... ";
	        if($("txtUserName").value == "")
	        {
	            $("txtUserName").focus();
		        $("UpdateProgress1").style.display = "none";
		        new HintDialog($("txtUserName"), "会员号/用户名不能为空！");
	            return false;
	        }
    		
	        if($("txtPassword").value == "")
	        {
		        $("txtPassword").focus();
		        $("UpdateProgress1").style.display = "none";
		        new HintDialog($("txtPassword"), "密码不能为空！");
		        return false;
	        }
        }
    </script>
</head>
<body>
    <form id="logonForm" runat="server">
    <div id="position">
      <div id="inposition">
        <div class="login-left">
          <div class="login-left-logo">
            <img height="78" src="images/login-logo.gif" width="297" alt="" />
          </div>
          <div class="login-left-content">
            <ul>
              <li>采用安全稳定的ASP.NET应用开发</li>
              <li>最高效的基于.NET 2.0 Framework</li>
              <li>功能强大的网站后台管理系统</li>
            </ul>
          </div>
          <div class="login-left-sever">
            <a href="http://host.35.com/Help/CP/Hosting@35使用手册.pdf" target="_blank">
              <img height="16" src="images/icon-demo.gif" width="16" align="Middle" alt="" /> 帮 助 
            </a>
            <a href="javascript:SendRequest();">
              <img height="16" src="images/icon-login-seaver.gif" width="16" align="middle" alt="" /> 在线客服 
            </a>
          </div>
        </div>
        <div class="login-right">
          <div id="UpdatePanel1">
            <div class="login-right-title">登录DesignCMS@35后台管理系统</div>
            <div class="login-right-input">
              <table cellspacing="0" cellpadding="0" width="200" border="0">
                <tr>
                  <td id="tdLeft" nowrap="nowrap" align="right">会员号/用户名： </td>
                  <td><asp:TextBox runat="server" CssClass="input" ID="txtUserName" /></td>
                </tr>
                <tr>
                  <td style="HEIGHT: 30px" align="right">密&nbsp;&nbsp; &nbsp;&nbsp;码： </td>
                  <td style="HEIGHT: 30px">
                    <asp:TextBox runat="server" CssClass="input" ID="txtPassword" TextMode="Password" />
                  </td>
                </tr>
                <tr>
                  <td style="HEIGHT: 30px" align="right"></td>
                  <td style="HEIGHT: 30px" nowrap="nowrap">
                    <asp:Button runat="server" CssClass="button" ID="btnLogin" Text="登 录" OnClick="btnLogin_Click" /> 
                  </td>
                </tr>
              </table>
            </div>
          </div>
          <table cellspacing="0" cellpadding="0" border="0">
            <tr>
              <td id="tdloading"></td>
              <td>
                <div id="UpdateProgress1" style="DISPLAY: none" runat="server">
                  <div class="popup-man-tabloading" style="Z-INDEX: 9999; LEFT: 0px; WIDTH: 100%; POSITION: absolute; TOP: 0px; HEIGHT: 100%"></div>
                  <div id="divLoging" style="FONT-SIZE: 14px; background:#C5C5C5">
                    <div style="BORDER-RIGHT: #65D229 1px solid; PADDING-RIGHT: 4px; BORDER-TOP: #65D229 1px solid; PADDING-LEFT: 4px; BACKGROUND: #EBFFE1; LEFT: -2px; PADDING-BOTTOM: 4px; BORDER-LEFT: #65D229 1px solid; COLOR: #19538e; PADDING-TOP: 4px; BORDER-BOTTOM: #65D229 1px solid; POSITION: relative; TOP: -2px">
                      <img src="images/Loading.gif" align="Middle" alt="" />
                      <asp:Label ID="labMessage" runat="server" /> 
                    </div>
                  </div>
                </div>
              </td>
            </tr>
          </table>
        </div>
      </div>
    </div>
    <div id="header"></div>
    <div id="content"><img src="images/login-wel.gif" alt="" /> </div>
    <div id="buttom">
      <div class="copy2">
        Copyright © 2004-2007 35 Technology Co., Ltd. All Rights Reserved.
      </div>
      <div class="copy"><img src="images/login-copy.gif" alt="" /></div>
    </div>
    </form>
</body>
</html>
